﻿@model GdHotel.Data.SideBlock

<div class="display-label">@Html.LabelFor(model => model.Title)</div>
<div class="display-field">
    @Html.DisplayFor(model => model.Title)
</div>

<div class="display-label">@Html.LabelFor(model => model.PicturePath)</div>
@if (Model != null && !String.IsNullOrEmpty(Model.PicturePath))
{
    <div class="display-field">
        <img src="@Url.Content(Model.PicturePath)" alt="" />
    </div>
}

<div class="display-label">@Html.LabelFor(model => model.Link)</div>
<div class="display-field">
    @Html.DisplayFor(model => model.Link)
</div>
